home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ9310.ZIP
/
DFPP03.ZIP
/
DIRECTRY.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-23
|
828b
|
38 lines
// ---------- directry.h
#ifndef DRIVE_H
#define DRIVE_H
#include <dir.h>
#include <dos.h>
#include "listbox.h"
#include "label.h"
class PathNameLabel : public Label {
const char *CurrentPath();
public:
PathNameLabel(int x, int y, int wd, DFWindow *par = 0) :
Label(CurrentPath(), x, y, wd, par) {}
void FillLabel();
};
class DriveListBox : public ListBox {
unsigned currdrive;
public:
DriveListBox(int lf, int tp, DFWindow *par = 0);
};
class DirectoryListBox : public ListBox {
public:
DirectoryListBox(int lf, int tp, DFWindow *par = 0);
void FillList();
};
class FileNameListBox : public ListBox {
public:
FileNameListBox(const char *filespec, int lf, int tp, DFWindow *par = 0);
void FillList(const char *filespec);
};
#endif